import {
	luoReuqest
} from ".."


export const feedListApi = (data) => {
	return luoReuqest.get("/patient/home/knowledge", {
		params: data
	})
}

// 医生列表
export const doctorListApi = (current = 1, pageSize = 5) => {
	return luoReuqest.get("/home/page/doc", {
		params: {
			current,
			pageSize
		}
	})
}

// 关注
export const followDoctorApi = (id, type = "doc") => {
	return luoReuqest.post("/like", {
		id,
		type
	})
}